﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Brid:Animal,IFlyable
    {
        public string Name { get; set; }
        public Brid(string Name)
         
        {
            this.Name = Name;
        }
      public  void Fly()
        {
            Console.WriteLine("{0}会飞",Name);
        }
       

        public void Land()
        {
            Console.WriteLine("{0}降落！！！", Name);
        }
        public void TakeOff()
        {
            Console.WriteLine("{0}起飞", Name);
        }


        public override void Eat()
        {
            Console.WriteLine("我可以吃很多！");
        }
        public void LayEggs()
        {
            Console.WriteLine("我可以下蛋");
        }
    }


}
    

